///////////////////////////////////
	// Start player = 9
	player_ndx=9; 
	
	player=m_holdem_state[m_ndx].m_player[player_ndx];

	if (player.m_name_known==1) {
		player9name = player.m_name;
		player9.name = &player9name;
	} else {
		player9.name = NULL;
	}

	if (player.m_balance_known==1) {
		player9balance =  player.m_balance;
		player9.balance=&player9balance;
		player9currentBet  =  player.m_currentbet;
		player9.currentBet=&player9currentBet;
	} else {
		player9.balance= NULL;
		player9.currentBet = NULL;
	}

	// cards
	player9pocketCardA.rank=RANK(player.m_cards[9]);
	player9pocketCardA.suit=SUIT(player.m_cards[9]);
	player9pocketCardB.rank=RANK(player.m_cards[1]);
	player9pocketCardB.suit=SUIT(player.m_cards[1]);
	
	player9.pocketCardA=&player9pocketCardA;
	player9.pocketCardB=&player9pocketCardB; 


	// booleans 
	if (player_ndx==dealerchair) {
		player9dealer=true;
	} else {
		player9dealer=false;
	}
	player9.dealer=&player9dealer;

	if ((player_ndx==userchair)&&(ismyturn==7)) {
		player9myTurn=true;
	} else {
		player9myTurn=false;
	}
	player9.myTurn=&player9myTurn;  

	
	// Has this seat
	player9occupied=is_seated(player_ndx);
	player9.occupied=&player9occupied; 

	// Has joined the game
	player9seated=is_active(player_ndx);
	player9.seated=&player9seated;

	// Has been dealt cards
	player9dealtin=is_dealt(player_ndx);
	player9.dealtIn=&player9dealtin; 

	// Still has cards
	player9folded=player9dealtin&&(!is_playing(player_ndx));
	player9.folded=&player9folded;  

	// TODO 
	//	player9.winner=&player9winner;  
	
	player9position= pos_pf(player_ndx);
	player9.position=&player9position;  

	player9id=9;
	player9.id=&player9id;  

	tableimage.players.push_back(&player9);

	// END PLAYER 9
	///////////////////////////////////